.position(@type; @top: auto; @right: auto; @bottom: auto; @left: auto; @width: auto; @height: auto) {
  position: @type;
  top: @top;
  right: @right;
  bottom: @bottom;
  left: @left;
  width: @width;
  height: @height;
}

@menu-width: 270px;
@column: 5.55555%;

body {
  .position(absolute, 0, 0, 0, 0);
  //background-color: #315481;
  margin: 0px;
}

#container {
  // .position(absolute, 0, 0, 0, 0);
  margin-top: 4em;
  margin-bottom: 4em;
  @media screen and (min-width: 60em) {
    left: @column;
    right: @column;
  }

  @media screen and (min-width: 80em) {
    left: 2*@column;
    right: 2*@column;
  }

  // Hide anything offscreen
  overflow: hidden;
}

#certificate {
  background-image: url(/images/certificate_background.jpg);
  background-size: 115% 100%;
  background-position: -27px 32px;
  background-repeat: no-repeat;
}

#user_certificate {
  background-image: url(/images/user-certificate-background.jpg);
  background-size: 115% 100%;
  background-position: -27px 32px;
  background-repeat: no-repeat;
}

#user_info_check {
  background-image: url(/images/user-certificate-background.jpg);
  background-size: 115% 100%;
  background-position: -27px 32px;
  background-repeat: no-repeat;
}

#place_holder {
  padding-left: 30%;
  width: 160px;
  height: 170px;
}

#image_register {
  text-align: center;
}

#dropzone {
  text-align: center;
  padding-top: 5%;
}

.output {
  text-align: left;
  padding-left: 20%;
}

.image {
  width: 85%;
}

.index {
  position: relative;
  left: 20%;
  right: 20%;
  top: 20%;
  width: 60%;
}

#login_buttons {
  position: absolute;
  right: 5%;
  top: 5px;
}

#login_buttons_holder {
  position: relative;
  height: 50px;
  margin-top: 15px;
}

#new_or_import_result {
  position: absolute;
  display: inline-block;
  margin-top: 3px;
}

#import_form {
  margin-top: 40px;
}

.import_hint {
  margin-top: 5px;
  margin-left: 20px;
  margin-right: 20px;
}

#register_title {
  display: inline;
  position: absolute;
  left: 45%;
}

#login_title {
  display: inline;
  position: absolute;
  left: 40%;
}

#search_group {
  position: relative;
}

#search_fields {
  position: absolute;
  right: -20px;
  padding: 28px;
  background: rgba(0, 188, 212, 0.8);
}



